import serviceApi from './../../service/api'

export default {
	
    login(e)
    {
		my.getAuthCode({
		  scopes: ['auth_base'],
		  success: (res) => {
		   if (res.authCode) {
				serviceApi.get(e, 'user/get_token', {"code" : res.authCode, "app" : "alipay"})
			  } else {
				console.log('登录失败！' + res.authCode)
			  }
		  },
		});
		
    }
}